#include <57header.h>


void *func(void *p){
    char *str = (char *)p;

    printf("son str: %s \n ", str);
    strcpy(str, "1234566777 \n");

    return NULL;
}
int main(int argc,char*argv[])
{
    char *p = (char *)malloc(20);
    strcpy(p, "hello");

    pthread_t son_id;
    pthread_create(&son_id, NULL, func, p);

    sleep(1);
    printf("main str: %s \n", p);
    return 0;
}

